package com.RPC0.server;

import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Author: <黄书根>
 * Time: 2017-07-31 13:37
 * Copyright (C) 2017 Xiamen Yaxon Networks CO.,LTD.
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Component // 表明可被 Spring 扫描
public @interface RpcService {

    String name() default "";
}